/**
 * 该文件通过脚本自动生成，请不要手动修改该文件
 * 生成时间：2023-3-16 14:8:45:63
 **/
export default class file {
  constructor(request) {
    this.request = request;
  }

  /**
   * 文件下载
   * @param {string} * fileId - fileId
   */
  get_file_download_by_fileId(params) {
    return this.request({
      url: '/pwgh-ghsj-sc-report/file/download/"+params.params.fileId+"',
      method: "get",
      params: params,
    });
  }

  /**
   * 文件删除
   * @param {string} * fileId - fileId
   */
  delete_file_remove_by_fileId(params) {
    return this.request({
      url: '/pwgh-ghsj-sc-report/file/remove/"+params.params.fileId+"',
      method: "delete",
      params: params,
    });
  }

  /**
   * 文件上传
   * @param {file} * file - file
   */
  post_file_upload(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-report/file/upload",
      method: "post",
      params: params,
    });
  }

  /**
   * 多文件上传
   * @param {array} * files - files
   */
  post_file_uploadFiles(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-report/file/uploadFiles",
      method: "post",
      params: params,
    });
  }
}
